package com.zyx.xunyilu.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ClassName: RegisterStatus
 * @author: zyx
 * @E-mail: 1377631190@qq.com
 * @DATE: 2019/11/12 22:39
 */
@Getter
@AllArgsConstructor
public enum RegisterStatus {

    // 注册已通过
    IS_REGISTER("IS_REGISTER", 1),
    // 注册未通过
    NO_REGISTER("NO_REGISTER", 0);

    @JsonValue
    private String status;

    @EnumValue
    private int register;

}
